package cn.toys.modular.mapper;

import cn.toys.modular.entity.ProductType;
import cn.toys.modular.entity.ProductTypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductTypeMapper {
    long countByExample(ProductTypeExample example);

    int deleteByExample(ProductTypeExample example);

    int insert(ProductType record);

    int insertSelective(ProductType record);

    List<ProductType> selectByExampleSelective(@Param("example") ProductTypeExample example, @Param("selective") ProductType.Column ... selective);

    ProductType selectOneByExample(ProductTypeExample example);

    ProductType selectOneByExampleSelective(@Param("example") ProductTypeExample example, @Param("selective") ProductType.Column ... selective);

    List<ProductType> selectByExample(ProductTypeExample example);

    int updateByExampleSelective(@Param("record") ProductType record, @Param("example") ProductTypeExample example);

    int updateByExample(@Param("record") ProductType record, @Param("example") ProductTypeExample example);
}